package org.springframework.nio.handler.adapter;

import org.springframework.nio.NioRequest;

public interface SimpHandlerAdapter {

	public boolean support(Object handler);
	
	/**
	 * use given handler handle request
	 * @param request
	 * @param handler
	 * @throws Exception
	 */
	public Object handle(NioRequest<?> request,Object handler)  throws Exception;
	
}
